package com.beiding.businessplatform.ql;

public class Q {
    public static ConnectorAble eq(QueryField queryField, Object value) {
        QueryBuilderImpl queryBuilder = new QueryBuilderImpl();
        queryBuilder.eq(queryField, value);
        return queryBuilder;
    }

    public static SelectionBuilderImpl select(QueryField... queryField) {
        SelectionBuilderImpl builder = new SelectionBuilderImpl();
        for (QueryField field : queryField) {
            builder.addSelect(field);
        }
        return builder;
    }

}
